home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global g1erSprChr, g1erSprNav, gMaxBoutons, g1erSprLoc, gBarChron, gScopePh, gPosVideo, gTraduit, gChapAct, gChapPrec, gEtudAct, gEtudPrec, gEtatEtud, gPartie, gPhLabel, gSujet1, gSujet0, gSujAct, gListCodPhy, gListFicPhy, gListSuj, gListCod, gFirst, gListHorPhy, gListDebPhy, gListFinPhy
- curseur(6)
- set gMaxBoutons to 33
- set g1erSprLoc to 22
- set gPhLabel to "PH:RN"
- set gChapPrec to gChapAct
- set gChapAct to "PH"
- set gEtudPrec to gEtudAct
- set gEtudAct to " "
- set gFirst to 0
- set gSujet0 to getAt(gListSuj, 18)
- if (gChapPrec = "PH") and (gEtudPrec = "FI") then
- nothing()
- else
- repeat with i = g1erSprNav + 1 to g1erSprNav + 3
- set the visible of sprite i to 0
- end repeat
- gScopePh(Restore)
- gScopePh(visible, 0)
- repeat with i = g1erSprChr to gMaxBoutons
- puppetSprite(i, 0)
- end repeat
- gBarChron(fleche, 0, 1, 2)
- repeat with i = g1erSprLoc + 5 to g1erSprLoc + 11
- set the visible of sprite i to 0
- end repeat
- set the visible of sprite 3 to 1
- end if
- set the visible of sprite (g1erSprLoc + 2) to 0
- end
-